<?php
/**
 * View Gestione Club LaFabbrica.org
 * 
 * @author     luigi.pastore (gigi@la-fabbrica.org)
 * @created    21-apr-2011
 * @package    LaFabbrica
 * @copyright  Copyright (c) 2011 Luigi Pastore
 */
?>
<script type="text/javascript">
    //<![CDATA[
     
    $(document).ready(function()
    {
	/* set up program details tabs */
			$("#tabs div.tab").hide();
			$("#tabs div.tab:first").show(); //Show first tab content
			$("#tabMenu a").click(function() {
				var tgt = $(this).attr("target");

				$("#tabs div.tab:visible").hide();
				$("#tabMenu a").removeClass("selected");
				$("#tabs #"+tgt).fadeIn();
				$(this).addClass("selected");
				
				return false;
			});
    });

    //]]>
</script>
<div class="info">
    <h2>Gestione</h2>
    <div>Per inserire un nuovo locale...</div>
</div>
        
<table id="tabbed" class="link" cellspacing="0">
    <tr>
	<td id="tabMenu">
	    <ul id="selections">
		<li class="first">
		    <a href="#" target="tab1" class="selected">
			<img src="/images/admin/location-icon.png" />Location</a>
		</li>
		<li class="green">
		    
		    <a href="#" target="tab2">
			<img src="/images/admin/contact-icon.png" />Contatti</a>
		</li>
		<li class="red">
		    <a href="#" target="tab3">
			<img src="/images/admin/partner-icon.png" />Partner</a>
		</li>
		    
		</li>
		<li class="last">
		    <a href="#" target="tab4">
			<img src="/images/icons/application_form.png" />Utenti</a>
		</li>		
	    </ul>
	</td>
	    
	<td id="tabs">
	    <div id="tab1" class="tab">
		<div class="links">
		    <ul>
			<li class="section first">
			    <div class="description">
				<ul id="img-link-list">
				    <li><a href="/admin/location/nuovo" title="Aggiungi Post"><img src="/images/admin/location-add.png" /><br/><span>Nuova Location</span></a></li>
				    <li><a href="/admin/location/archivio" title="Gestisci Post"><img src="/images/admin/location-manager.png" /><br/><span>Gestisci Location</span></a></li>
				</ul>
				<div class="clear"></div>
			    </div>
			</li>
		    </ul></div>
	    </div>
		
	    <div id="tab2" class="tab">
		<div class="links">
		    <ul>
			<li class="section">
			    <div class="description">
				<ul id="img-link-list">
				    <li><a href="/admin/contatti/nuovo" title="Aggiungi Post"><img src="/images/admin/contact-add.png" /><br/><span>Nuovo Contatto</span></a></li>
				    <li><a href="/admin/contatti/rubrica" title="Gestisci Post"><img src="/images/admin/contact-manager.png" /><br/><span>Rubrica Contatti</span></a></li>
				</ul>
				<div class="clear"></div>
			    </div>
			</li>
		    </ul>
		</div>
		    
	    </div>
	    <div id="tab3" class="tab">
		<div class="links">
		    <ul>
			<li class="section">
			    <div class="description">
				<ul id="img-link-list">
				    <li><a href="/admin/partners/info" title="Aggiungi Post"><img src="/images/admin/partner-add.png" /><br/><span>Nuovo Parner</span></a></li>
				    <li><a href="/admin/partners" title="Gestisci Post"><img src="/images/admin/partner-manager.png" /><br/><span>Elenco Partner</span></a></li>
				</ul>
				<div class="clear"></div>
			    </div>
			</li>
		    </ul>
		</div>
	    </div>
	    <div id="tab4" class="tab">
		<div class="links">
		<ul>
		    <li class="section first">
			<div class="description">
			    <ul id="img-link-list">
				<li><a href="/admin/utenti/nuovo" title="Aggiungi Utente"><img src="/images/admin/user-add.png" width="48" height="48" /></a><br/><span>Nuovo Utente</span></li>
				<li><a href="/admin/utenti/archivio" title="Gestisci Utenti"><img src="/images/admin/user-manager.png" width="48" height="48" /></a><br/><span>Gestisci Utenti</span></li>
			    </ul>
			    <div class="clear"></div>
			</div>
		    </li>
		</ul>
		</div>		
	    </div>
	</td>
    </tr>
	
</table>



<!--<div class="links">
    <ul>
	<li class="section first">
	    <h3>Location</h3>
	    <div class="description">
		<ul id="img-link-list">
		    <li><a href="/admin/location/nuovo" title="Aggiungi Post"><img src="/images/admin/location-add.png" /><br/><span>Nuova Location</span></a></li>
		    <li><a href="/admin/location/archivio" title="Gestisci Post"><img src="/images/admin/location-manager.png" /><br/><span>Gestisci Location</span></a></li>
		</ul>
		<div class="clear"></div>
	    </div>
	</li>
	<li class="section">
	    <h3>Contatti</h3>
	    <div class="description">
		<ul id="img-link-list">
		    <li><a href="/admin/contatti/nuovo" title="Aggiungi Post"><img src="/images/admin/contact-add.png" /><br/><span>Nuovo Contatto</span></a></li>
		    <li><a href="/admin/contatti/rubrica" title="Gestisci Post"><img src="/images/admin/contact-manager.png" /><br/><span>Rubrica Contatti</span></a></li>
		</ul>
		<div class="clear"></div>
	    </div>
	</li>
	<li class="section">
	    <h3>Partner</h3>
	    <div class="description">
		<ul id="img-link-list">
		    <li><a href="/admin/locali/nuovo" title="Aggiungi Post"><img src="/images/admin/partner-add.png" /><br/><span>Nuovo Parner</span></a></li>
		    <li><a href="/admin/locali/archivio" title="Gestisci Post"><img src="/images/admin/partner-manager.png" /><br/><span>Elenco Partner</span></a></li>
		</ul>
		<div class="clear"></div>
	    </div>
	</li>
	<li class="section">
	    <h3>Utenti</h3>
	    <div class="description">
		<ul id="img-link-list">
		    <li><a href="/admin/utenti/nuovo" title="Aggiungi Utente"><img src="/images/admin/user-add.png" width="48" height="48" /><br/><span>Nuovo Utente</span></a></li>
		    <li><a href="/admin/utenti/archivio" title="Gestisci Utenti"><img src="/images/admin/user-manager.png" width="48" height="48" /><br/><span>Gestisci Utenti</span></a></li>
		</ul>
		<div class="clear"></div>
	    </div>
	</li>
    </ul>
</div>-->
